Distributed policy enforcement with verification mode

ABSTRACT

User-specified policies may be efficiently implemented and enforced with a distributed set of policy enforcement components. User-specified policies may be transformed into a normal form. Sets of normal form policies may be optimized. The optimized policies may be indexed and/or divided and provided to the distributed set of policy enforcement components. The distributed policy enforcement may have a sandbox mode and/or verification mode enabling policy configuration verification. With appropriate authorization, substitute data may be used in verification mode to evaluate requests with respect to policies. Evaluation results, relevant policies, and decision data utilized during request evaluation may be collected, filtered and reported at a variety of levels of detail. Originating user-specified policies may be tracked during the policy normalization process to enable reference to user-specified policies in verification mode reports.

BACKGROUND

Modern computing networks provide access to a wide variety of computingresources such as data archives, search engines, data processing, datamanagement, communications, electronic marketplaces, as well as mediaand entertainment services. As the number and size of such computingresources, and their user communities, have grown and become moresophisticated, a need has arisen to establish increasingly sophisticatedusage policies. For example, such policies may include policies thataddress security, privacy, access, regulatory and cost concerns.However, conventional approaches to policy enforcement have drawbacks.

For example, conventional approaches to policy enforcement can be adhoc, limited to a particular type of computing resource and/or limitedto a particular set of policy controls. In heterogeneous computingenvironments incorporating even a modest number of computing resourcetypes, an ad hoc approach can be a significant administrative burden. Inaddition, some conventional approaches scale poorly as the number ofcomputing resources grows large. Small administrative and/or performanceinefficiencies can become problematic at larger scales. Someconventional approaches lack a centralized policy management servicewhich can hamper consistent policy management in distributed computingenvironments. Some conventional approaches are limited to centralizedpolicy management, which can be insufficiently flexible in response tochanging requirements.

Policy set complexity can also be a problem for some conventionalapproaches to policy enforcement. For example, policy administrators mayhave difficulty implementing a desired policy in practice, even when itis possible in theory. Policies may be inconsistently enforced bydifferent computing resource types. The specification of a particularpolicy may have unanticipated and/or unintended consequences.Furthermore, it is becoming increasingly common to provision suchcomputing resources with virtual computing resource providers. In suchcases, computing resource administrators may not have control over, ordirect access to, computing hardware or other infrastructure thatimplements the provisioned computing resources. In some conventionalapproaches to policy enforcement, such environments can hinderacquisition of sufficient diagnostic information to efficiently resolvepolicy enforcement problems.

BRIEF DESCRIPTION OF THE DRAWINGS

Various embodiments in accordance with the present disclosure will bedescribed with reference to the drawings, in which:

FIG. 1 is a schematic diagram illustrating an example environment forimplementing aspects in accordance with at least one embodiment;

FIG. 2 is a schematic diagram depicting aspects of an example virtualcomputing resources architecture in accordance with at least oneembodiment;

FIG. 3 is a schematic diagram depicting aspects of an example virtualresource provider control plane in accordance with at least oneembodiment;

FIG. 4 is a schematic diagram depicting aspects of an example normalform policy in accordance with at least one embodiment;

FIG. 5 is a schematic diagram depicting aspects of an example virtualresource provider in accordance with at least one embodiment;

FIG. 6 is a schematic diagram depicting aspects of an example policymanagement service in accordance with at least one embodiment;

FIG. 7 is a schematic diagram depicting aspects of an exampleverification mode service in accordance with at least one embodiment;

FIG. 8 is a schematic diagram depicting aspects of an example virtualresource service in accordance with at least one embodiment;

FIG. 9 is a schematic diagram depicting aspects of an example resourceinterface in accordance with at least one embodiment;

FIG. 10 is a schematic diagram depicting aspects of an example policyenforcement component in accordance with at least one embodiment;

FIG. 11 is a flowchart depicting example steps for policy enforcement inaccordance with at least one embodiment;

FIG. 12 is a flowchart depicting example steps for maintaining optimizedpolicy sets in accordance with at least one embodiment;

FIG. 13 is a flowchart depicting example steps for updating a normalizedpolicy set in accordance with at least one embodiment;

FIG. 14 is a flowchart depicting example steps for verification mode inaccordance with at least one embodiment;

FIG. 15 is a flowchart depicting further example steps for verificationmode in accordance with at least one embodiment; and

FIG. 16 is a flowchart depicting example steps for workflow managementin accordance with at least one embodiment.

Same numbers are used throughout the disclosure and figures to referencelike components and features, but such repetition of number is forpurposes of simplicity of explanation and understanding, and should notbe viewed as a limitation on the various embodiments.

DETAILED DESCRIPTION

In the following description, various embodiments will be described. Forpurposes of explanation, specific configurations and details are setforth in order to provide a thorough understanding of the embodiments.However, it will also be apparent to one skilled in the art that theembodiments may be practiced without the specific details. Furthermore,well-known features may be omitted or simplified in order not to obscurethe embodiment being described.

Policies may be specified with a convenient policy specificationlanguage and/or user interface. However, such user-specified policiesmay be inefficient for the purposes of policy enforcement, particularlyas the set of user-specified policies grows large. In at least oneembodiment, user-specified policies may be transformed and/or processedinto a normal policy form (“normal form”). The normal form may include adefined set of policy elements, each with a defined set of possiblevalues. For example, the set of policy elements may include an actionselement corresponding to a set of actions governed by the policy, aprincipals element corresponding to a set of principals or actors withrespect to the set of actions, a resources element corresponding to aset of resources or subjects of the action, and/or a conditions elementcorresponding to a set of conditions to be satisfied before the policyis enforced.

The set of normal form policies may be efficiently optimized, forexample, optimized for efficient indexing and/or optimized with respectto set size. Normal form policies may be split and/or joined withrespect to policy elements, and duplicates efficiently removed. Normalform policies may be efficiently indexed with respect to policy elementvalues and/or particular subsets of policy element values. For example,when the set of normal form policies are to be enforced with respect toa variety of computing resources, the set may be indexed by computingresource, computing resource type, computing resource server, andsuitable combinations thereof. Subsets of the set of normal formpolicies may be distributed to multiple policy enforcement componentsbased on the indexing and/or based on a relevance of particular policysubsets to particular policy enforcement components.

A virtual resource provider capable of provisioning a variety of virtualcomputing resources may include a centralized policy management servicethat maintains the set of normalized policies and distributesappropriate subsets to multiple policy enforcement componentsdistributed throughout the virtual resource provider. Alternatively, orin addition, normal form policies may be maintained local to particularpolicy enforcement components and/or associated virtual computingresource implementation services. As a further alternative, policies maybe provided along with action requests. In each case, a policy may becompatible with the normal form, and be associated with and/oraccompanied by cryptographic credentials that authenticate and/orauthorize the policy and/or an associated user. For example, the usermay be authorized to set policies with respect to a particular set ofcomputing resources. Such policies themselves are an example of acomputing resource that may be subject to policy control.

Requests with respect to resources may be submitted to one or morepolicy enforcement components. For example, a request may be submittedto one or more policy enforcement components locally maintaining one ormore policies that are relevant to the request. A distributed policyenforcement system with multiple policy enforcement components may havea “sandbox” mode and/or verification mode for processing requests. Anauthorized user may activate the verification mode with an indicatorincorporated into an service interface, with an explicit verificationmode service interface, and/or with a cryptographic verification modetoken, the acquisition of which is subject to policy control. During theverification mode, requests may be evaluated with respect to policies asusual while requested actions are inhibited.

Such evaluations may depend on a set of decision data including useridentity, a user's group memberships, protocol level details such asnetwork source address of the request and protocol utilized to transmitthe request, geographic regions associated with the request such assource geographic location of the request, regulatory classificationsassociated with the request, date and time. Authorized users maysubstitute pieces of decision data with specified values, for example,to enable an administrator to verify that a particular set of policieswill govern the actions of a particular user or group of users asintended, and/or to diagnose problems. In verification mode, evaluationresults, relevant policies, and decision data utilized during requestevaluation may be collected, filtered and reported at a variety oflevels of detail. The reported set of relevant policies may includenormal form policies utilized to evaluate a request and/or acorresponding set of user-specified policies. Originating user-specifiedpolicies may be tracked during the policy normalization process toenable reporting of user-specified policies in verification mode. Thereported set of decision data may include decision data not otherwiseaccessible to the report recipient.

Various approaches may be implemented in various environments forvarious applications. For example, FIG. 1 illustrates aspects of anexample environment 100 for implementing aspects in accordance withvarious embodiments. As will be appreciated, although a Web-basedenvironment may be utilized for purposes of explanation, differentenvironments may be utilized, as appropriate, to implement variousembodiments. The environment 100 shown includes both a testing or adevelopment portion (or side) and a production portion. The productionportion includes an electronic client device 102, which may include anyappropriate device operable to send and receive requests, messages, orinformation over an appropriate network 104 and convey information backto a user of the device 102. Examples of such client devices includepersonal computers, cell phones, smartphones, handheld messagingdevices, laptop computers, tablet computers, set-top boxes, personaldata assistants, electronic book readers, and the like.

The network 104 may include any appropriate network, including anintranet, the Internet, a cellular network, a local area network, a widearea network, a wireless data network, or any other such network orcombination thereof. Components utilized for such a system may depend atleast in part upon the type of network and/or environment selected.Protocols and components for communicating via such a network are wellknown and will not be discussed herein in detail. Communication over thenetwork may be enabled by wired or wireless connections, andcombinations thereof. In this example, the network 104 includes theInternet, as the environment includes a Web server 106 for receivingrequests and serving content in response thereto, although for othernetworks an alternative device serving a similar purpose could beutilized as would be apparent to one of ordinary skill in the art.

The illustrative environment 100 includes at least one applicationserver 108 and a data store 110. It should be understood that there maybe several application servers, layers, or other elements, processes, orcomponents, which may be chained or otherwise configured, which mayinteract to perform tasks such as obtaining data from an appropriatedata store. As used herein the term “data store” refers to any device orcombination of devices capable of storing, accessing, and/or retrievingdata, which may include any combination and number of data servers,databases, data storage devices, and data storage media, in anystandard, distributed, or clustered environment.

The application server 108 may include any appropriate hardware andsoftware for integrating with the data store as needed to executeaspects of one or more applications for the client device 102, and mayeven handle a majority of the data access and business logic for anapplication. The application server 108 provides access control servicesin cooperation with the data store 110, and is able to generate contentsuch as text, graphics, audio, and/or video to be transferred to theuser, which may be served to the user by the Web server 106 in the formof HTML, XML, or another appropriate structured language in thisexample.

The handling of all requests and responses, as well as the delivery ofcontent between the client device 102 and the application server 108,may be handled by the Web server 106. It should be understood that theWeb and application servers 106, 108 are not required and are merelyexample components, as structured code discussed herein may be executedon any appropriate device or host machine as discussed elsewhere herein.Further, the environment 100 may be architected in such a way that atest automation framework may be provided as a service to which a useror application may subscribe. A test automation framework may beprovided as an implementation of any of the various testing patternsdiscussed herein, although various other implementations may be utilizedas well, as discussed or suggested herein.

The environment 100 may also include a development and/or testing side,which includes a user device 118 allowing a user such as a developer,data administrator, or tester to access the system. The user device 118may be any appropriate device or machine, such as is described abovewith respect to the client device 102. The environment 100 may alsoinclude a development server 120, which functions similar to theapplication server 108 but typically runs code during development andtesting before the code is deployed and executed on the production sideand becomes accessible to outside users, for example. In someembodiments, an application server may function as a development server,and separate production and testing storage may not be utilized.

The data store 110 may include several separate data tables, databases,or other data storage mechanisms and media for storing data relating toa particular aspect. For example, the data store 110 illustratedincludes mechanisms for storing production data 112 and user information116, which may be utilized to serve content for the production side. Thedata store 110 also is shown to include a mechanism for storing testingdata 114, which may be utilized with the user information for thetesting side. It should be understood that there may be many otheraspects that are stored in the data store 110, such as for page imageinformation and access right information, which may be stored in any ofthe above listed mechanisms as appropriate or in additional mechanismsin the data store 110.

The data store 110 is operable, through logic associated therewith, toreceive instructions from the application server 108 or developmentserver 120, and obtain, update, or otherwise process data in responsethereto. In one example, a user might submit a search request for acertain type of item. In this case, the data store 110 might access theuser information 116 to verify the identity of the user, and may accessthe catalog detail information to obtain information about items of thattype. The information then may be returned to the user, such as in aresults listing on a Web page that the user is able to view via abrowser on the user device 102. Information for a particular item ofinterest may be viewed in a dedicated page or window of the browser.

Each server typically will include an operating system that providesexecutable program instructions for the general administration andoperation of that server, and typically will include a computer-readablemedium storing instructions that, when executed by a processor of theserver, allow the server to perform its intended functions. Suitableimplementations for the operating system and general functionality ofthe servers are known or commercially available, and are readilyimplemented by persons having ordinary skill in the art, particularly inlight of the disclosure herein.

The environment 100 in one embodiment is a distributed computingenvironment utilizing several computer systems and components that areinterconnected via communication links, using one or more computernetworks or direct connections. However, it will be appreciated by thoseof ordinary skill in the art that such a system could operate equallywell in a system having fewer or a greater number of components than areillustrated in FIG. 1. Thus, the depiction of the system 100 in FIG. 1should be taken as being illustrative in nature, and not limiting to thescope of the disclosure.

In at least one embodiment, one or more aspects of the environment 100may incorporate and/or be incorporated into a virtual computingresources architecture. FIG. 2 depicts aspects of an example virtualcomputing resources architecture 200 in accordance with at least oneembodiment. The example virtual computing resources architecture 200includes a virtual resource provider 202 enabling various clients204-206 to interact with provisioned computing resources 216 over anetwork 214. The provisioned computing resources 216 may includemultiple types of virtual resource 218-220 such as virtual computingsystems and clusters, virtual file system volumes, virtual privatenetworks, data object stores, notification services, and suitablecombinations thereof. The ellipsis between the types of virtual resource218 and 220 indicates that the virtual resource provider 202 maymaintain any suitable number of such computing resource types and/orinstances. Ellipses are used similarly throughout the drawings.

The virtual resource provider 202 may be implemented, at least in part,with server computers such as the Web server 106 and the applicationserver 108 described above with reference to FIG. 1, and one or moredata stores such as the data store 110 of FIG. 1, interconnected by arelatively high speed data network (not shown in FIG. 2). The servercomputers and/or data store(s) implementing the virtual resourceprovider 202 may include different types and/or configurations of servercomputers and/or data stores allocated to different virtual resourcetypes 218-220 and to a control plane 222 of the virtual resourceprovider 202. The control plane 222 may include multiple user interfaces224-226 that enable the clients 204-206 to interact with the virtualresource provider 202, including provisioning and interacting with thevirtual resources 218-220, as well as setting policies with respect tothe virtual resources 218-220. FIG. 3 depicts further aspects of acontrol plane 302 in accordance with at least one embodiment.

The user interfaces 304 of the control plane 302 may include anysuitable type of user interface. For example, the user interface 304 mayinclude graphical user interfaces (GUIs), Web-based interfaces,programmatic interfaces such as application programming interfaces(APIs) and/or sets of remote procedure calls (RPCs) corresponding tointerface elements, messaging interfaces in which the interface elementscorrespond to messages of a communication protocol, and/or suitablecombinations thereof. The user interfaces 304 may include multipleresource interfaces 306-308 enabling user interaction with the virtualresources 218-220 (FIG. 2). For example, there may be one of theresource interfaces 306-308 for each of the types of virtual resource218-220. As another example, one or more of the resource interfaces306-308 may enable interaction with multiple virtual resource types218-220. Alternatively, or in addition, one or more of the types ofvirtual resource 218-220 may incorporate interfaces enabling directinteraction (e.g., by the clients 204-206) without mediation by one ofthe user interfaces 304.

The user interfaces 304 may further include a provisioning interface 310enabling authorized users to provision, configure, re-configure and/orde-provision (collectively, “provision”) the virtual resources 218-220(FIG. 2). Although the example control plane 302 includes one suchprovisioning interface 310, embodiments may include any suitable numberof such provisioning interfaces, including a provisioning interface foreach type of virtual resource 218-220. Alternatively, or in addition,the resource interface 306 corresponding to a particular type of virtualresource 218 may incorporate the provisioning interface for that virtualresource type 218. The user interfaces 304 of the control plane 302 maystill further include a policy management interface 312 enablingestablishment, viewing, editing and/or deletion (collectively,“maintenance”) of virtual resource provider 202 policies includingpolicies with respect to the virtual resources 218-220 and with respectto policy management. Again, although the example control plane 302includes one such policy management interface 312, embodiments mayinclude any suitable number of policy management interfaces including apolicy management interface for each type of virtual resource 218-220.The resource interface 306 corresponding to a particular type of virtualresource 218 may incorporate the policy management interface for thatvirtual resource type 218.

The control plane 302 may include a policy management component 314configured at least to provide centralized policy management for thevirtual resource provider 202 (FIG. 2). The policy management component314 may receive user-specified policies, for example, specified with thepolicy management interface 312, and transform user-specified policiesinto a normal form. The policy management component 314 may thenoptimize the set of normal form policies, for example, for indexingand/or with respect to set size, and index the set of normal formpolicies based at least in part on one or more policy elements of thenormal form. The policy management component 314 may then distribute theoptimized normal form policies to a set of policy enforcement components316-318 in a manner based at least in part on the index.

The control plane 302 may further include a verification mode component320 configured at least to facilitate verification mode reporting. Theverification mode component 320 may collect request evaluation results,normal form policies and/or decision data, map normal form policies touser-specified policies, and generate reports at specified levels ofdetail. For example, verification mode report detail levels may includea low detail level corresponding to an evaluation result and basiccontextual information, a medium detail level that adds a set ofpolicies considered to determine the evaluation result, a high detaillevel that further adds a set of decision data considered to determinethe evaluation result, and a very high detail level that further addsvirtual resource provider 202 (FIG. 2) operational information that mayassist anomalous behavior diagnosis (e.g., debugging). For example, suchoperational information may include an identification of the set ofpolicy enforcement components 316-318 involved in evaluating a requestassociated with the report. In at least one embodiment, verificationmode may be a mechanism by which authorized users are permitted accessto such virtual resource provider 202 operation information.Verification mode may correspond to a sandbox mode in the softwaredevelopment and/or testing sense, enabling configuration verificationand/or testing without possible high cost consequences (e.g., in termsof financial and/or resource costs).

The verification mode component 320 may be further configured to processrequests for verification mode tokens (e.g., cryptographic tokens), andto authenticate such tokens. For example, a verification mode token maybe submitted with a request in order to indicate that the request is tobe processed in verification mode. Alternatively, or in addition,verification mode tokens may authorize substitution of decision data (orat least a portion of the decision data) utilized when evaluating arequest with respect to a set of policies. For example, the verificationmode token may authorize substitution of decision data related to useridentity, thus enabling an administrator to verify that a particularpolicy set has an intended effect with respect to a particular user.

The control plane 302 may include a workflow management component 322configured at least to establish and maintain workflows such as resourceworkflows, provisioning workflows and/or policy management workflowsestablished responsive to user interaction with the resource interfaces306-308, the provisioning interface 310, and/or the policy managementinterface 312, respectively. Workflows may include one or more sequencesof tasks to be executed to perform a job, such as virtual resourceconfiguration, provisioning or policy management. A workflow, as theterm is used herein, is not the tasks themselves, but a task controlstructure that may control flow of information to and from tasks, aswell as the order of execution of the tasks it controls. For example, aworkflow may be considered a state machine that can manage and returnthe state of a process at any time during execution. Workflows may becreated from workflow templates. For example, a policy managementworkflow may be created from a policy management workflow templateconfigured with parameters by the policy management component 314.

The workflow management component 322 may modify, further specify and/orfurther configure established workflows. For example, the workflowmanagement component 322 may select particular implementation resourcesof the virtual resource provider 202 to execute and/or be assigned toparticular tasks. Such selection may be based at least in part on thecomputing resource needs of the particular task as assessed by theworkflow management component 322. As another example, the workflowmanagement component 322 may add additional and/or duplicate tasks to anestablished workflow and/or reconfigure information flow between tasksin the established workflow. Such modification of established workflowsmay be based at least in part on an execution efficiency analysis by theworkflow management component 322. For example, some tasks may beefficiently performed in parallel, while other tasks depend on thesuccessful completion of previous tasks.

The normal form of a policy may include a defined set of policyelements. FIG. 4 depicts aspects of an example normal form policy 402 inaccordance with at least one embodiment. The policy 402 includes apolicy identifier 404 uniquely identifying the policy 402, one or moreeffects 406 of the policy 402, reference to one or more principals 408or actors governed by the policy, a specification of one or more actions410 governed by the policy 402, reference to one or more resources 412governed by the policy 402, a specification of one or more conditions414 to be satisfied before the policy 402 is enforced, and a set ofelement modifiers 416, 418, 420, 422 corresponding to the policyelements 408, 410, 412, 414, respectively. The policy 402 may have analphanumeric and/or Unicode representation and/or encoding sometimescalled the policy document.

The policy identifier 404 may be any suitable identifier uniquelyidentifying the policy 402. For example, the policy identifier 404 maycorrespond to an alphanumeric and/or Unicode (collectively,“alphanumeric”) string or integer number. The policy identifier 404 maybe utilized to reference the policy 402. Examples of policy effectsinclude permit and deny. The effect(s) 406 element of the policy 402 mayspecify such policy effects. For example, a particular policy may permitone or more principals 408 to take one or more actions 410 with respectto one or more resources 412, while another policy may deny a set ofactions 410 to a set of principals 408.

The principal(s) 408 element of the policy 402 may specify one or moreentities known to the virtual resource provider 202 (FIG. 2) that arecapable of making requests of the virtual resource provider 202. Suchentities may include users having a user account with the virtualresource provider 202, customers having a commercial account (e.g., acost-tracking account) with the virtual resource provider 202, andgroups of users and/or customers including role-based groups such asadministrators. Such entities may be specified with any suitableidentifier including user identifiers, customer account numbers, groupidentifiers, and alphanumeric strings.

The action(s) 410 element of the policy 402 may specify one or moreactions capable of being performed by the virtual resource provider 202(FIG. 2). Such actions may include actions capable of being performed bythe virtual resources 218-220 of the virtual resource provider 202and/or actions that may be requested with the user interfaces 224-226 ofthe virtual resource provider 202, including policy management actions.In at least one embodiment, actions specified by the action(s) 410element correspond to elements of the user interfaces 224-226. Suchactions may be specified with any suitable action identifier includinginterface element identifiers and alphanumeric strings.

The resource(s) 412 element of the policy 402 may specify one or moreresources of the virtual resource provider 202 (FIG. 2) for which one ormore of the action(s) 410 is valid. Such resources may include virtualresources 218-220, implementation resources, policies, and verificationmode tokens. Such resources may be specified with any suitable resourceidentifier including resource identifiers in accordance with a uniformresource identifier (URI) standard such as Berners-Lee et al., “UniformResource Identifier (URI): Generic Syntax,” Request for Comments (RFC)3986, Network Working Group, January 2005.

The condition(s) 414 element of the policy 402 may specify a set ofconditions to be satisfied before the policy 402 is enforced. Forexample, the condition(s) 414 may specify the conditions under which theprincipal(s) 408 are permitted to perform the action(s) 410 with respectto the resource(s) 412. Such conditions may be specified with anysuitable condition specification language including suitable programminglanguages, and may include compound conditions, for example, specifiedwith Boolean operators. Condition parameters may include any suitabledata available to the virtual resource provider 202 (FIG. 2). Conditionparameter examples include environmental data such as calendar date andtime of day, and request-associated data such as originating networkaddress, originating geographical location, originating political and/oradministrative division and communication protocol employed.

By default, the policy 402 effect(s) 406 may be enforced when thespecified principal(s) 408 request the specified action(s) 410 withrespect to the specified resource(s) 412 and the specified set ofcondition(s) 414 are satisfied. However, the element modifiers 416-422may indicate that the corresponding policy elements 408-414 specifyexceptions. That is, that the policy 402 effect(s) 406 be enforcedunless the specified principal(s) 408 are the actors, unless thespecified action(s) 410 are requested, unless the specified resource(s)412 are the subject of action and/or unless the specified set ofconditions is satisfied. In addition, policy element 408-414specifications may include “wildcard” values. For example, a ‘*’wildcard value may match all and/or any valid values of the policyelement 408-414. Alternatively, or in addition, wildcard values may bematched contextually. For example, a ‘*’ wildcard value may match alland/or any values of the policy element 408-414 that are valid withrespect to a particular user, customer, group, and/or other context of aparticular request.

As described above with reference to FIG. 3, the policy managementcomponent 314 may transform user-specified policies into normal formpolicies, and optimize sets of normal form policies. The optimized setof normal form policies may differ significantly from the supplied setof user-specified policies. A single user-specified policy can result inthe addition of multiple normal form policies. A single normal formpolicy can participate in enforcing multiple user-specified policies. Inat least one embodiment, each normal form policy 402 maintains a set ofreferences to “parent” policies 424 which the normal form policy 402participates in enforcing. For example, the set of parent policies 424may be updated during user-specified policy transformation and normalform policy set optimization operations.

The virtual resource provider 202 may be implemented as a collection ofnetworked services. FIG. 5 depicts aspects of an example virtualresource provider 502 implemented in accordance with at least oneembodiment. The virtual resource provider 502 includes multiple virtualresource services 504-506, a policy management service 508, anauthentication service 510, a set of decision data providers 512, and averification mode service 514, each interconnected by a network 516. Thearrow 518 indicates that the network 516 is connected to the network 214of FIG. 2.

Each virtual resource service 504, 506 may maintain a set of provisionedresources 520-522, 524-526 and incorporate a resource interface 528,530. For example, each virtual resource service 504-506 may maintain onetype of virtual resource 218-220 as described above with reference toFIG. 2, and incorporate a corresponding one of the resource interfaces306-308 described above with reference to FIG. 3. The policy managementservice 508 may incorporate a policy management interface 532corresponding to the policy management interface 312 of FIG. 3.

The policy management service 508 may act as a centralized policymanagement service for the virtual resource provider 502, managing,transforming, optimizing and distributing one or more sets of policies534 to other services 504-506, 510-514 of the virtual resource provider502. In addition, in at least one embodiment, services 504-506, 510-514of the virtual resource provider 502 other than the policy managementservice 508 may maintain policies. For example, the virtual resourceservices 504-506 may each maintain a set of policies 536-538, 540-542that are relevant to the respective set of provisioned resources520-522, 524-526. Such policies 536-538, 540-542 may be established,viewed, edited and deleted with policy management interface 312 (FIG. 3)functionality integrated into the associated resource interface 528-530.Such policies 536-538, 540-542 may be compatible with the policies 534maintained by the policy management service 508. For example, thepolicies 536-538, 540-542 may each have a form corresponding to thenormal form policy 402 (FIG. 4). Further in addition, in at least oneembodiment, policies may be maintained at a location external to thevirtual resource provider 502, and supplied for enforcement as part ofinteractions with the services 504-514 of the virtual resource provider502. For example, request 544 incorporates such a policy 546.

The authentication service 510 may provide authentication services forthe virtual resource provider 502. For example, the authenticationservice 410 may authenticate an integrity and/or an authenticity ofpolicies 534-542, 546. In addition, the authentication service 510 mayauthenticate an identity of clients 204-206 (FIG. 2), customers and/orusers of the virtual resource provider 502. For example, the policymanagement interface 532 and/or the resource interfaces 528-530 mayutilize the authentication service 510 to establish and/or verify anidentify and/or authority of a user with respect to policies 534-542,546 and/or provisioned resources 520-526. The authentication service 510may utilize any suitable authentication mechanism, including anysuitable cryptographic authentication mechanism, to provide theauthentication services. Such authentication mechanisms are well knownin the art and need not be detailed here.

The decision data providers 512 may provide data required by policyenforcement components 316-318 (FIG. 3) to evaluate requests that aresubject to policies. For example, the provisioned resources 520-526 maybe associated with various labeling and/or naming schemes (“resourcenames”), and the decision data providers 512 may include a nameresolution provider that maps or resolves such resource names tolocations (e.g., network locations) within the virtual resource provider502. The decision data providers 512 may further include providers ofdata required to determine whether the condition(s) 414 (FIG. 4) of thepolicy 402 are satisfied. For example, a particular policy may denyinteraction with a particular resource from a specified set ofgeographic locations and/or regions (collectively, “geographiclocations”). In such a case, the decision data providers 512 may includea geographic resolution provider capable of identifying a set ofgeographic locations associated with the request 544.

The verification mode service 514 may provide verification modefunctionality (e.g., as described above with reference to theverification mode component 320 of FIG. 3) as a service to the otherservices 504-512 of the virtual resource provider 502. For example, theresource interfaces 528-530 and/or the policy management interface 532may query the verification mode service 514 to authenticate averification mode token and/or may provide evaluation results forreporting in response to a request. An example verification mode serviceis described below in more detail with reference to FIG. 7. However, thedescription first turns to further aspects of the policy managementservice 508 in accordance with at least one embodiment.

The policy management service 602 of FIG. 6 is an example of the policymanagement service 508 of FIG. 5, and includes a policy managementinterface 604 corresponding to the policy management interface 532 ofFIG. 5. Users of the virtual resource provider 502 may interact with thepolicy management interface 604 to specify, view, edit and/or deletepolicies in a user-specified policy set 606 maintained by the policymanagement service 602. The policy management service 602 may furthermaintain a normalized policy set 608 corresponding to the user-specifiedset 606. The normalized policy set 608 may be maintained by a policynormalization component 610. The policy management service 602 mayparticipate in policy enforcement, for example, the policy managementservice 602 may include a policy enforcement component 616 correspondingto one of the policy enforcement components 316-318 of FIG. 3. Inparticular, the policy enforcement component 616 may enforce policiesreferencing actions that may be requested with the policy managementinterface 604. Furthermore, in at least one embodiment, at least aportion of the normalized policy set 608, or a copy thereof, isdistributed to policy enforcement components located throughout thevirtual resource provider 502. The policy management service 602 mayinclude a policy distribution component 612 configured at least todistribute the normalized policy set 608 throughout the virtual resourceprovider 502, for example, based at least in part on a policy index 614.

Policies in the user-specified policy set 606 may be specified withalphanumeric strings. A first example of such a policy is:

-   -   permit administrators *        corresponding to permission for members of the group with        identifier “administrators” to perform all actions with respect        to all resources associated with a particular virtual resource        provider 502 (FIG. 5) customer account. A second example is:    -   deny jsmith * unless current_time in business_hours        corresponding to denying permission for a user with identifier        “jsmith” to perform any action outside of business hours. A        third example is:    -   permit jsmith to {create, read, write, delete}        -   data_object_service:zone_(—)1::/public/images            corresponding to permission for the user with identifier            “jsmith” to create, read, write and delete data objects at a            particular virtual resource having resource identifier            “data_object_service:zone_(—)1::/public/images”. A fourth            example is:    -   permit msmith to configure        -   {vcs::/example_corp/*, bds::/example_corp/*}            corresponding to permission for a user with identifier            “msmith” to configure all virtual computer systems (provided            by a virtual computing service “vcs”) and block data volumes            (provided by a block data service “bds”) associated with a            customer having customer identifier “example_corp”. Each            user-specified policy may be associated with a unique            identifier.

The policy normalization component 610 may generate sets of normalizedpolicies corresponding to user-specified policies, and store thenormalized policies in the normalized policy set 608. For example, eachpolicy in the normalized policy set 608 may have a form corresponding tothe normal form policy 402 of FIG. 4. The policy normalization component610 may generate multiple normal form policies corresponding to auser-specified policy, for example, due to decompounding with respect topolicy elements 408-414. The fourth user-specified policy exampledescribed above may be decompounded to generate two normal formpolicies, both with the effect 406 element specifying a permit effect,the principal 408 element specifying the user with identifier “msmith”,and the action 410 element specifying the configure action. For example,the resource 412 element of one of the normal form policies may specifyall virtual computer systems associated with the customer identifier“example_corp”, the resource 412 element of the other of the normal formpolicies may specify all block data volumes associated with the customeridentifier “example_corp”. In this example, the user-specified policyhas been decompounded with respect to the resource 412 element. Asanother example, the policy normalization component 610 may beconfigured to decompound the first user-specified policy exampledescribed above with respect to the action 410 element and/or theresource 412 element.

Wildcards may be first “expanded” into a set of values, for example,based on a context of the user-specified policy, before beingdecompounded. The decompounding need not be complete with respect topolicy element 408-414 (FIG. 4) values. For example, the policynormalization component 610 may be configured to protect particularsubsets of policy element 408-414 values (policy element “atoms” or“indivisibles”) from decompounding. As one example, the set of actionscorresponding to “{create, read, write, delete}” may be protected fromdecompounding.

The policy normalization component 610 may reduce a size of thenormalized policy set 608, for example, by reducing redundancy in thenormalized policy set 608. The policy normalization component 610 maydetect that a newly added normal form policy is contained within thescope of one or more of the normalized policy set 608, and delete thenewly added normal form policy from the normalized policy set 608.Normal form policies, such as the normal form policy 402 of FIG. 4, maycorrespond to sets of points in one or more policy spaces, for example,spaces having dimensions corresponding to the policy elements 408-414 ofthe normal form, and/or Boolean-valued functions over the policy spaces.Each effect 406 element value may correspond to such a policy space. Forexample, there may be a permit space and a deny space. The policyenforcement components 316-318 (FIG. 3) may be configured to require anexplicit permit in the absence of a deny in order to permit a particularaction, that is, to require a point in a permit space without acorresponding point in the deny space. Wildcards may correspond toregions of such policy spaces. Element modifiers 416-422 may be used todefine complimentary sets of the policy spaces. The policy normalizationcomponent 610 may detect whether the normal form policy 402 is within inthe scope of a set of normal form policies (e.g., the normalized policyset 608) by determining whether the set of points corresponding to thenormal form policy 402 is contained within the set of pointscorresponding to the set of normal form policies.

The policy normalization component 610 may further reduce the size ofthe normalized policy set 608 by compounding and/or recompounding normalform policies in the normalized policy set 608 with respect to policyelements 408-414 (FIG. 4). Some policy element 408-414 values maycorrespond to multiple other policy element 408-414 values, so that asingle normal form policy 402 may correspond to a same policy spaceregion as multiple other normal form policies. For example, a principal408 element value corresponding to a group may be equivalent to multipleprincipal 408 element values corresponding to individual users. Thepolicy normalization component 610 may be configured to detectcompoundable subsets of the normalized policy set 608 and to compoundthe detected subsets along policy element 408-414 dimensions toconfigured granularities (which need not be the coarsest availablegranularity). Throughout generation and/or transformation of thenormalized policy set 608, the policy normalization component 610 may beconfigured to maintain the set of parent policies 424 of each normalform policy 402. For example, the set of parent policies 424 may includethe identifier of each user-specified policy that the normal form policy402 participates in enforcing.

Different regions of the policy space(s) may be enforced by differentpolicy enforcement components 316-318 (FIG. 3). Different policyenforcement components 316-318 may enforce overlapping, and even same,regions of the policy space(s). However, in at least one embodiment,different policy enforcement components 316-318 enforce disjoint regionsof the policy space(s). The policy distribution component 612 maydetermine regions of the policy space(s), and corresponding subsets ofthe normalized policy set 608, to assign and/or distribute to the policyenforcement components 316-318. To facilitate such distribution, thepolicy distribution component 612 may establish and maintain the policyindex 614. The policy index 614 may index the normalized policy set 608with respect to policy element 408-414 (FIG. 4) values and/or subsetsthereof. For example, the policy index 614 may index the normalizedpolicy set 608 with respect to resource 412 and/or resource 412 type.Policies in the normalized policy set 608 may be multiply indexed, forexample, with respect to multiple different policy element 408-414values and/or value subsets. The policy distribution component 612 maydistribute the normalized policy set 608 to the policy enforcementcomponents 316-318 based at least in part on the policy index 614. Forexample, sets of indices of the policy index 614 may define policyenforcement domains corresponding to subsets of the normalized policyset 608, and the policy distribution component 612 may distribute suchsubsets to the policy enforcement components 316-318 as units. In atleast one embodiment, each normal form policy 402 incorporates itsindexing information and/or the policy index 614 is incorporated intothe normalized policy set 608.

The distributed nature of policy enforcement in the virtual resourceprovider 502 (FIG. 5) can complicate efforts to verify that a particularset of user-specified polices has its intended consequences. FIG. 7depicts aspects of an example verification mode service 702 inaccordance with at least one embodiment that can facilitate suchverification. The verification mode service 702 may include a tokenmanagement component 704 accessible through a token interface 706. Thetoken management component 704 may issue verification mode tokens inresponse to authorized requests, record the issued tokens in an issuedtoken database 708, and authenticate the issued tokens upon request.Following processing of the request 544 in verification mode, areporting component 710 of the verification mode service 702 may preparea verification mode report at a specified level of detail. Requests forsuch reports, as well as level of detail specification, may be made witha reporting interface 712 of the verification mode service 702. Suchreport requests may not include all the data required by the reportingcomponent 710. The verification mode service 702 may further include adata collection component 714 configured to interact with other services504-512 of the virtual resource provider 502 to obtain the requireddata.

Policies with respect to actions that may be requested with the tokeninterface 706 and/or the reporting interface may be enforced by a policyenforcement component 716 corresponding to one of the policy enforcementcomponents 316-318 of FIG. 3. For example, such policies may define aset of users of the virtual resource provider 502 (FIG. 5) authorized tobe issued verification mode tokens, and may require an authenticverification mode token before providing the verification mode report.The token management component 704 may issue multiple types of tokens,for example, tokens authorizing verification mode reporting may be aseparate type from tokens authorizing substitution of decision dataduring verification mode processing of the request 544. Tokensauthorizing substitution of different subsets and/or types of decisiondata may also be separate types. Verification mode policies maydistinguish between different types of tokens. Generation, issuance,authentication and revocation of cryptographic tokens are well known inthe art, and need not be described here in detail.

Requests at the reporting interface 712 may specify a type of reportand/or level of reporting detail. For example, the workflow managementcomponent 322 (FIG. 3) may generate the request in response to detectinga verification mode request at one of the resource interfaces 306-308.The reporting component 710 may generate the requested report based on acorresponding report template, utilizing the data collection component714 to collect data as necessary. Fields that may be included in theverification mode report include one or more results of evaluation ofthe verification mode request by one or more of the policy enforcementcomponents 316-318, a subset of the normalized policy set 608 (FIG. 6)and/or the user-specified policy set 606 relevant to the verificationmode request and/or utilized during the evaluation by the one or morepolicy enforcement components 316-318, decision data utilized during theevaluation, virtual resource provider 502 contextual operating datacapable of influencing the evaluation, and/or versions thereof filteredand/or summarized to the specified level of detail. The reportingcomponent 710 may be configured to map a set of normal form policies toa corresponding set of user-specified policies based at least in part onthe set of parent policies 424 (FIG. 4) referenced by each normal formpolicy 402.

Each virtual resource service 504-506 (FIG. 5) may be implemented with acollection of physical server computers and/or network elements. FIG. 8depicts aspects of an example virtual resource service 802 in accordancewith at least one embodiment. The virtual resource service 802 depictedin FIG. 8 is an example of the virtual resource service 504 of FIG. 5.The example virtual resource service 802 includes multiple virtualresource servers 804-806 and one or more interface servers 808interconnected by a network 810. The provisioned resources 520-522 andpolicies 536-538 of FIG. 5 may be distributed across the virtualresource servers 804-806 of FIG. 8 utilizing any suitable datadistribution technique. For example, each virtual resource server 804,806 may maintain a subset 812-814, 816-818 of the provisioned resources520-522, and a corresponding subset 820-822, 824-826 of the policies536-538. Such subsets may deliberately overlap for various purposesincluding data durability and service capability.

The interface server(s) 808 may (collectively) maintain a resourceinterface 828 and a policy enforcement component 830. The resourceinterface 828 may correspond to one of the resource interfaces 306-308of FIG. 3. Similarly, the policy enforcement component 830 maycorrespond to one of the policy enforcement components 316-318 of FIG.3. The policy enforcement component 830 of FIG. 8 may enforce policiesreferencing actions that may be requested with the resource interface828 of FIG. 8. Such policies may include policies distributed by thepolicy management service 602 (FIG. 6), policies 820-826 stored on thevirtual resource servers 804-806, and policies accompanying requests tothe resource interface 828 such as the policy 546 of FIG. 5. Forexample, the resource interface 828 may require a “permit” evaluation bythe policy enforcement component 830 before further processing arequest.

FIG. 9 depicts aspects of an example resource interface 902 inaccordance with at least one embodiment. The resource interface 902 mayinclude any suitable number of interface elements of any suitable type.In this example, the resource interface 902 includes a configureresource interface element 904, a read resource attribute(s) interfaceelement 906, an update resource attribute(s) interface element 908, anactivate resource functionality interface element 910, and a deleteresource attribute(s) interface element 912. In addition, the resourceinterface 902 includes distinct interface elements 914-922 correspondingto verification mode versions of the interface elements 904-912. Eachinterface element 904-922 defines a structured interaction with theprovisioned resources 812-818 (FIG. 8) including a request to perform aset of actions with respect to at least one of the provisioned resources812-818. In the example resource interface 902, each interface element904-922 corresponds to a set of messages of a Web-based servicesprotocol such as extensible markup language (XML) encoded remoteprocedure calls (e.g., XML-RPC) or a simple object access protocol(e.g., SOAP).

Clients 204-206 (FIG. 2) may utilize the configure resource interfaceelement 904 to request a configuration and/or reconfiguration of one ormore of the provisioned resources 812-818 (FIG. 8). For example, if theprovisioned resources 812-818 include data object stores, the configureresource interface element 904 may enable clients 204-206 to set amaximum size of a data object store over which they have authority.Clients 204-206 may utilize the read resource attribute(s) interfaceelement 906 to request a read or view of one or more attributes of oneor more of the provisioned resources 812-818. For example, the readresource attribute(s) interface element 906 may enable clients 204-206to obtain copies of specified data objects from specified data objectstores. Clients 204-206 may utilize the update resource attribute(s)interface element 908 to request an update of one or more attributes ofone or more of the provisioned resources 812-818. For example, theupdate resource attribute(s) interface element 908 may enable clients204-206 to update specified data objects and/or create specified dataobjects in specified data object stores.

Some provisioned resources 812-818 (FIG. 8) may have functionality thatcan be activated, and the activate resource functionality interfaceelement 910 may be utilized to request an activation of thatfunctionality. For example, some types of data object store may have acapability to analyze stored data objects, and the activate resourcefunctionality interface element 910 may enable authorized clients tostart, stop, suspend and/or perform the analysis. The delete resourceattribute(s) interface element 912 may enable clients 204-206 (FIG. 2)to request a deletion and/or re-initialization of one or more attributesof one or more of the provisioned resources 812-818. For example,clients 204-206 with sufficient authorization may delete specified dataobjects from specified data object stores.

In the example resource interface 902, utilization of the verificationmode versions 914-922 of the interface elements 904-912 indicates thatthe corresponding request is to be processed in the verification mode(is a “verification mode request”). For example, the resource interface828 (FIG. 8) may submit the request to the policy enforcement component830 as usual, but inhibit any actions that would usually result from a“permit” evaluation result. Regardless of the evaluation result, theresource interface 828 may respond to the request with a verificationmode report. For example, the resource interface 828 and/or acontrolling workflow may invoke an interface element of the verificationmode reporting interface 712 (FIG. 7) to generate the verification modereport. The use of dedicated interface elements 914-922 is only onetechnique for indicating that a request is to be processed inverification mode. Alternate embodiments may utilize any suitabletechnique. For example, interface elements 904-912 may incorporate anexplicit indicator (e.g., a “flag”) for indicating the request is averification mode request. The resource interface 902 may include anexplicit set of interface elements (not shown in FIG. 9) for activatingand deactivating verification mode processing. As a further alternative,or in addition, receipt of a verification mode token (e.g., issued bythe verification mode service 702) may act as an indication that anassociated request is to be processed in verification mode.

Each interface element 904-922 may correspond to a request (e.g., therequest 544 of FIG. 5) subject to a subset of the policies 534-542, 546.In order to evaluate the request with respect to the subset of thepolicies 534-542, 546, the resource interface 828 (FIG. 8) receiving therequest may submit the request to the policy enforcement component 830.FIG. 10 depicts aspects of an example policy enforcement component 1002in accordance with at least one embodiment. The policy enforcementcomponent 1002 of FIG. 10 is an example of the policy enforcementcomponent 830 of FIG. 8.

The policy enforcement component 1002 may include a policy collector1004 configured at least to collect relevant policies 534-542, 546 (FIG.5) from locations throughout the virtual resource provider 502, andstore them local to a decision engine 1006 in a policy cache 1008.Collected policies may not be in normal form 402 (FIG. 4). The policyenforcement component 1002 may further include a policy normalizationcomponent 1010 having functionality corresponding to that of the policynormalization component 610 (FIG. 6) of the policy management service602. The policy normalization component 1010 may normalize the set ofpolicies in the policy cache 1008. The decision engine 1006 may evaluaterequests submitted to the policy enforcement component 1002 with respectto relevant policies in the policy cache 1008. At times, additional datamay be required to support particular decisions with respect toparticular policies. The policy enforcement component 1002 may stillfurther include one or more decision data collectors 1012 configured atleast to collect the required decision support data (“decision data”)from locations throughout the virtual resource provider 502. Collecteddecision data may be stored local to the decision engine 1006 in adecision data cache 1014.

The policy collector 1004 may update the policy cache 1008 responsive topolicy update notifications, for example, received from the policymanagement service 602 (FIG. 6) and/or the virtual resource servers804-806 (FIG. 8). The policy collector 1004 may subscribe tonotifications of updates to relevant policies and/or policy setsmaintained at the policy management service 602 and/or the virtualresource servers 804-806. Alternatively, or in addition, the policycollector 1004 may periodically search for changes to policies in thepolicy cache 1008 and/or for newly relevant policies.

The decision data collector(s) 1012 may include one or more datacollectors configured to interact with the decision data providers 512(FIG. 5). The decision data collector(s) 1012 may collect decision dataresponsive to requests by the decision engine 1006, for example,requests by the decision engine 1006 for decision data that is notpresent in the decision data cache 1014 and/or that is out-of-date. Thedecision data collector(s) 1012 may furthermore maintain one or moresubsets and/or types of decision data in the decision data cache 1014,for example, responsive to update notifications from the decision dataproviders 512 and/or with updates discovered by periodic searching.

The description now turns to example procedures that may be performed bythe virtual resource provider 502 (FIG. 5). FIG. 11 depicts examplesteps for policy enforcement in accordance with at least one embodiment.At step 1102, one or more virtual resources may be provisioned. Forexample, authorized users may interact with the provisioning interface310 of FIG. 3 to provision one or more of the virtual resources 218-220of FIG. 2. At step 1104, one or more user-specified policies may bereceived. For example, authorized users may specify policies with thepolicy management interface 532 of the policy management service 508,with policy management interface elements of resource interfaces528-530, and/or with policy specifications that accompany requests suchas the policy 546. At step 1106, one or more optimized policy sets maybe maintained. For example, the policy management service 602 (FIG. 2)may maintain the normalized policy set 608 and the policy index 614, anddistribute the normalized policy set 608 to the policy enforcementcomponents 316-318 based at least in part on the policy index 614. Inaddition, the policy enforcement components 316-318 may collect relevantpolicies and locally normalize and/or re-normalize the collectedpolicies.

At step 1108, a request may be received with respect to one or morevirtual resources. For example, a user may make the request with theresource interface 828 (FIG. 8) of the virtual resource service 802 withrespect to one or more of the virtual resources 812-818 maintained byone or more of the virtual resource servers 804-806. At step 1110, arelevant policy subset may be determined. For example, the resourceinterface 828 may submit the request to the policy enforcement component1002 (FIG. 10) for evaluation, and the policy enforcement component 1002may search the policy cache 1008 for policies relevant to the request. Aparticular normal form policy 402 (FIG. 4) may be determined relevant tothe request when one or more principals associated with the request(e.g., the user making the request) match a value of the principal(s)408 element of the policy 402, when one or more actions associated withthe request match a value of the action(s) 410 element of the policy402, when one or more resources associated with the request match avalue of the resource(s) 412 element of the request, and/or when one ormore attributes of the request (or a context of the request) satisfiesthe condition(s) 414 of the policy 402.

At step 1112, the request may be evaluated with respect to the relevantpolicy subset determined at step 1110. For example, the decision engine1006 (FIG. 10) may evaluate the request with respect to the relevantpolicy subset in the policy cache 1008 based at least in part ondecision data in the decision data cache 1014. At step 1114, a result ofthe evaluation of step 1112 may be identified. For example, the resourceinterface 828 (FIG. 8) may identify the result based at least in part oninformation provided by the policy enforcement component 830. Theresource interface 828 may determine that the request is to bepermitted, in which case a procedure incorporating step 1114 mayprogress to step 1116. The resource interface 828 may determine that therequest is to be denied, in which case the procedure may progress tostep 1118. The resource interface 828 may determine that the request isto be processed in verification mode, in which case the procedure mayprogress to step 1120. For example, the resource interface 828 maydetermine that the request is to be processed in verification mode basedat least in part on an indicator incorporated into and/or accompanyingthe request, such as a verification mode flag or a verification modetoken.

At step 1116, the request may be fulfilled. For example, the resourceinterface 828 (FIG. 8) may interact with one or more of the virtualresource servers 804-806 and/or the provisioned resources 812-818 tofulfill the request. Alternatively, or in addition, the resourceinterface 828 may establish a request fulfillment workflow. At step1118, the request may be denied. For example, the resource interface 828may respond to the request with a “request denied” message.Alternatively, or in addition, the resource interface 828 may establisha request denial workflow. The request denied message may containminimal information so as to avoid information leakage to unauthorizedusers. The resource interface 828 may even be configured to silentlydeny requests, so that no request denied message is sent. At step 1120,a verification mode report may be generated and provided to the senderof the request. For example, the resource interface 828 may interactwith the reporting interface 712 (FIG. 7) of the verification modeservice 702 to request and/or generate the verification mode report.Alternatively, or in addition, the resource interface 828 may establisha verification mode report workflow.

FIG. 12 depicts example steps for maintaining optimized policy sets inaccordance with at least one embodiment. At step 1202, a user-specifiedpolicy may be received. For example, the policy management interface 604(FIG. 6) may receive a specification of a policy from a user at thepolicy management interface 604. At step 1204, a set of normal formpolicies may be generated. For example, the policy normalizationcomponent 610 may generate a set of normal form policies correspondingto the user-specified policy provided at step 1202. At 1206, thegenerated set of normal form policies may be added to a managed policyset. For example, the policy management service 602 may add the set ofnormal form policies generated at step 1204 to the normalized policy set608.

At step 1208, the managed policy set may be optimized with respect tothe normal form. For example, the policy normalization component 610(FIG. 6) may decompound the normalized policy set 608, reduce redundancyin the normalized policy set 608 and/or recompound the normalized policyset 608 with respect to the normal form 402 (FIG. 4). At step 1210, oneor more subsets of the managed policy set may be determined based atleast in part on the normal form. For example, the policy distributioncomponent 612 may update the policy index 614 for the updated normalizedpolicy set 608, and determine the one or more subsets for distributionbased at least in part on the updated policy index 614.

At step 1212, the one or more subsets of the managed policy set may bedistributed to one or more policy enforcement components (PECs). Forexample, the policy distribution component 612 may notify policyenforcement components 316-318 (FIG. 3) of the updated normalized policyset 608 and/or the updated policy index 614. Different policyenforcement components 316-318 may have different subscriptions todifferent portions of the policy index 614, and the policy distributioncomponent 612 may be configured to send update notifications to thosepolicy enforcement components with matching subscriptions.

At step 1214, a received request may be associated with one or morepolicy enforcement components 316-318 (FIG. 3). The virtual resourceprovider 502 (FIG. 5) may make an explicit determination of anassociation between the received request and a particular set of thepolicy enforcement components 316-318. Alternatively, or in addition,the associated may be determined at least in part by the user interface224-226 (FIG. 2) selected by the user to place the request. For example,a request arriving at the resource interface 828 (FIG. 8) may beassociated with the policy enforcement component 830. At step 1216, thereceived request may be submitted to the associated one or more policyenforcement components 316-318 for evaluation.

FIG. 13 depicts example steps for updating the normalized policy set 608(FIG. 6). At step 1302, a set of normal form policies may be generatedthat correspond to a user-specified policy. At step 1304, it may bedetermined whether the generated set of normal form policies includespolicy elements with compound values (“compound elements”), for example,by the policy normalization component 610. If so, a procedureincorporating step 1304 may progress to step 1306. Otherwise, theprocedure may progress to step 1308. At step 1306, a set of normal formpolicies having decompounded policy element values may be generated thatcorresponds to the set of normal form policies generated at step 1302,for example, by the policy normalization component 610.

At step 1308, a next (e.g., a first) normal form policy may be selectedfrom the generated set of normal form policies. At step 1310, it may bedetermined whether the selected normal form policy is contained in amanaged set. For example, the policy normalization component 610 (FIG.6) may determine whether the normal form policy selected at step 1308 iscontained by one or more of the policies in the normalized policy set608. If so, the selected normal form procedure has been determined to beredundant, and the procedure may progress to step 1312. Otherwise, theprocedure may progress to step 1314. At step 1312, one or more of thecontaining policies determined at step 1310 may be updated to referencethe user-specified policy of step 1302 and, at step 1316, the selectednormal form policy discarded as redundant. For example, the policynormalization component 610 may update the set of parent policies 424(FIG. 4) of the containing policy set to reference the user-specifiedpolicy.

At step 1314, it may be determined whether there are more policies to bechecked for redundancy in the generated normal form policy set. If so,the procedure may return to step 1308. Otherwise, the procedure mayprogress to step 1318. At step 1318, the managed policy set may beupdated. For example, the policy normalization component 610 may updatethe normalized policy set 608 with those of the generated normal formpolicies not discarded as redundant. At step 1320, a managed policy setindex may be updated. For example, the policy distribution component 612may update the policy index 614 to account for the policies added to thenormalized policy set 608 at step 1318.

FIG. 14 and FIG. 15 depict example steps for verification mode inaccordance with at least one embodiment. At step 1402, a request toperform one or more actions may be received. For example, the resourceinterface 828 (FIG. 8) may receive the request to perform one or moreactions with respect to the provisioned resources 812-818. At step 1404,a verification mode indication may be received. For example, theresource interface 828 may receive the verification mode indication suchas a verification mode token in association with the request of step1402. Dashed line 1406 indicates that step 1402 and 1404 may beintegral. For example, the request of step 1402 may incorporate theverification mode indication and/or the request and the verificationmode indication may be received as part of a same interaction with theresource interface 828.

At step 1408, it may be determined whether the verification modeindication is authentic and/or authorized. For example, the resourceinterface 828 (FIG. 8) may submit a received verification mode token tothe verification mode service 702 (FIG. 7) for authentication. If so, aprocedure incorporating step 1408 may progress to step 1410. Otherwise,the procedure may progress to step 1412 to report a problem withverification mode to the user making the request.

At step 1410, a relevant policy subset may be determined. For example,the policy enforcement component 1002 (FIG. 10) may determine a subsetof policies in the policy cache 1008 that are relevant to the requestreceived at step 1402. At step 1414, a required set of decision data maybe determined. For example, the decision engine 1006 may requestdecision data required to evaluate the request with respect to therelevant policy subset determined at step 1410 from the decision datacache 1014, and the requested decision data may correspond to therequired set. At times, the decision data cache 1014 may not containeach piece of the required set of decision data. At step 1416, therequired set of decision data may be collected. For example, thedecision data collector(s) 1012 may update the decision data cache 1014as necessary to contain the required set of decision data.

Circle 1418 is a diagrammatic connector corresponding to a likediagrammatic connector 1502 of FIG. 15. The verification mode indicationreceived at step 1404 may include and/or be accompanied by substitutedecision data. The verification mode authentication step 1408 mayinclude authentication of an authority to replace collected decisiondata with the substitute decision data. At step 1504, it may bedetermined whether one or more pieces of the set of decision datacollected at step 1416 is to be replaced with substitute data. Forexample, the decision engine 1006 (FIG. 10) may so determine based atleast in part on the verification mode indication received at step 1404.If so, the procedure may progress to step 1506. Otherwise, the proceduremay progress to step 1508. At step 1506, the decision data collected atstep 1416 may be replaced by the substitute decision data. For example,the decision engine 1006 may utilize the substitute decision data asindicated by the verification mode indication received at step 1404.

At step 1508, the request received at step 1402 may be evaluated withrespect to the relevant policy subset determined at step 1410 and thedecision data collected at step 1416 and/or the substitute decisiondata, if any. For example, the decision engine 1006 (FIG. 10) mayperform the evaluation. At step 1510, request fulfillment may beinhibited. For example, the resource interface 828, responsive to theverification mode authentication of step 1408, may inhibit requestfulfillment independent of the result of the evaluation of step 1508.

At step 1512, the relevant policy subset determined at step 1410 may bemapped to a set of user-specified policies to be reported. For example,each of the relevant policy subset may be in normal form 402 (FIG. 4),and the reporting component 710 (FIG. 7) of the verification modeservice 702 may map each of the relevant policy subset to theuser-specified policies referenced by the set of parent polices 424 ofthe policy. In at least one embodiment, the union of such setscorrespond to the set of user-specified policies to be reported. At step1514, a verification mode report may be generated, for example, by thereporting component 710 utilizing the data collection component 714 asnecessary. At step 1516, the verification mode report may be providedfor presentation. For example, the verification mode service 702 mayprovide the verification mode report generated at step 1514 to the userthat made the request of step 1402. In at least one embodiment, the useris notified of the generation of the verification mode report, and maylater obtain the verification mode report with the reporting interface712.

As described above with reference to FIG. 3, the control plane 302 maybe facilitated by one or more workflows maintained by the workflowmanagement component 322. FIG. 16 depicts example steps for workflowmanagement in accordance with at least one embodiment. At step 1602, arequest may be received by an interface of the control plane 302 (FIG.3). For example, one of the user interfaces 304 of the control plane 302may receive the request from a user, customer and/or administrator ofthe virtual resource provider 202. The request may be a call to aprogrammatic interface such as an application programming interface(API) or a Web services interface, e.g., utilizing a Simple ObjectAccess Protocol (SOAP) call. Alternatively, or in addition, the requestmay be received through a graphical user interface (GUI) such as aWeb-based GUI. At step 1604, the request may be analyzed to determineone or more actions required to successfully complete the request. Forexample, the provisioning interface 310 may analyze the request, anddetermine a set of actions required to provision a set of virtualresources 218-220 (FIG. 2). When an interface element receiving therequest corresponds to a specific action to be performed, the interfacemay extract information from the request to be utilized in determiningaspects and/or parameters of the action to be performed.

At step 1606, a request may be sent to create a workflow based at leastin part on the one or more actions determined at step 1604. For example,provisioning interface 310 (FIG. 3) may send the request to the workflowmanagement component 322. The request to create the workflow may includethe action(s), action metadata such as type of action, and/or actionparameters. In at least one embodiment, the control plane 302 and/or theworkflow management component 322 maintains a job queue for suchrequests, and workflows are created responsive to new additions to thejob queue. At step 1608, a workflow and one or more component tasks maybe created. For example, the workflow management component 322 mayanalyze the request of step 1606 to determine the appropriate workflowand component tasks to create.

At step 1610, execution of the component task(s) may be guided inaccordance with the workflow. For example, the workflow managementcomponent 322 (FIG. 3) may activate elements of interfaces of variousimplementation resources to provision the set of virtual resources.Alternatively, or in addition, the workflow management component 322 maymanage bids for execution of the component task(s) by components of thevirtual resource provider 202. At step 1612, it may be determinedwhether the workflow has finished. For example, the workflow managementcomponent 322 may determine whether a final task in a sequence of tasksmanaged by the workflow has completed. If so, a procedure incorporatingstep 1612 may progress to step 1614. Otherwise the procedure may returnto step 1610 for a next task and/or task sequence. Workflows may guidemultiple task sequences executing in parallel. In this case, it may bethat the workflow is not finished until each of the multiple tasksequences completes and/or an explicit workflow finished flag is set byone of the component tasks. At step 1614, the sender of the request ofstep 1602 may be informed of result(s) of the action(s).

The various embodiments described herein may be implemented in a widevariety of operating environments, which in some cases may include oneor more user computers, computing devices, or processing devices whichmay be utilized to operate any of a number of applications. User orclient devices may include any of a number of general purpose personalcomputers, such as desktop or laptop computers running a standardoperating system, as well as cellular, wireless, and handheld devicesrunning mobile software and capable of supporting a number of networkingand messaging protocols. Such a system also may include a number ofworkstations running any of a variety of commercially-availableoperating systems and other known applications for purposes such asdevelopment and database management. These devices also may includeother electronic devices, such as dummy terminals, thin-clients, gamingsystems, and other devices capable of communicating via a network.

Most embodiments utilize at least one network that would be familiar tothose skilled in the art for supporting communications using any of avariety of commercially-available protocols, such as TCP/IP, OSI, FTP,UPnP, NFS, CIFS, and AppleTalk. Such a network may include, for example,a local area network, a wide-area network, a virtual private network,the Internet, an intranet, an extranet, a public switched telephonenetwork, an infrared network, a wireless network, and any combinationthereof. The network may, furthermore, incorporate any suitable networktopology. Examples of suitable network topologies include, but are notlimited to, simple point-to-point, star topology, self organizingpeer-to-peer topologies, and combinations thereof.

In embodiments utilizing a Web server, the Web server may run any of avariety of server or mid-tier applications, including HTTP servers, FTPservers, CGI servers, data servers, Java servers, and businessapplication servers. The server(s) also may be capable of executingprograms or scripts in response requests from user devices, such as byexecuting one or more Web applications that may be implemented as one ormore scripts or programs written in any programming language, such asJava®, C, C# or C++, or any scripting language, such as Perl, Python, orTCL, as well as combinations thereof. The server(s) may also includedatabase servers, including without limitation those commerciallyavailable from Oracle®, Microsoft®, Sybase®, and IBM®.

The environment may include a variety of data stores and other memoryand storage media as discussed above. These may reside in a variety oflocations, such as on a storage medium local to (and/or resident in) oneor more of the computers or remote from any or all of the computersacross the network. In a particular set of embodiments, the informationmay reside in a storage-area network (“SAN”) familiar to those skilledin the art. Similarly, any necessary files for performing the functionsattributed to the computers, servers, or other network devices may bestored locally and/or remotely, as appropriate. Where a system includescomputerized devices, each such device may include hardware elementsthat may be electrically coupled via a bus, the elements including, forexample, at least one central processing unit (CPU), at least one inputdevice (e.g., a mouse, keyboard, controller, touch screen, or keypad),and at least one output device (e.g., a display device, printer, orspeaker). Such a system may also include one or more storage devices,such as disk drives, optical storage devices, and solid-state storagedevices such as random access memory (“RAM”) or read-only memory(“ROM”), as well as removable media devices, memory cards, flash cards,etc.

Such devices also may include a computer-readable storage media reader,a communications device (e.g., a modem, a network card (wireless orwired), an infrared communication device, etc.), and working memory asdescribed above. The computer-readable storage media reader may beconnected with, or configured to receive, a computer-readable storagemedium, representing remote, local, fixed, and/or removable storagedevices as well as storage media for temporarily and/or more permanentlycontaining, storing, transmitting, and retrieving computer-readableinformation. The system and various devices also typically will includea number of software applications, modules including program modules,services, or other elements located within at least one working memorydevice, including an operating system and application programs, such asa client application or Web browser. It should be appreciated thatalternate embodiments may have numerous variations from that describedabove. For example, customized hardware might also be utilized and/orparticular elements might be implemented in hardware, software(including portable software, such as applets), or both. Further,connection to other computing devices such as network input/outputdevices may be employed.

Storage media and computer readable media for containing code, orportions of code, may include any appropriate media known or used in theart, including storage media and communication media, such as but notlimited to volatile and non-volatile, removable and non-removable mediaimplemented in any method or technology for storage and/or transmissionof information such as computer readable instructions, data structures,program modules, or other data, including RAM, ROM, EEPROM, flash memoryor other memory technology, CD-ROM, digital versatile disk (DVD) orother optical storage, magnetic cassettes, magnetic tape, magnetic diskstorage or other magnetic storage devices, or any other medium which maybe utilized to store the desired information and which may be accessedby the a system device. Program modules, program components and/orprogrammatic objects may include computer-readable and/orcomputer-executable instructions of and/or corresponding to any suitablecomputer programming language. In at least one embodiment, eachcomputer-readable medium may be tangible. In at least one embodiment,each computer-readable medium may be non-transitory in time. Based onthe disclosure and teachings provided herein, a person of ordinary skillin the art will appreciate other ways and/or methods to implement thevarious embodiments.

The specification and drawings are, accordingly, to be regarded in anillustrative rather than a restrictive sense. It will, however, beevident that various modifications and changes may be made thereuntowithout departing from the broader spirit and scope of the invention asset forth in the claims.

The use of the terms “a” and “an” and “the” and similar referents in thecontext of describing embodiments (especially in the context of thefollowing claims) are to be construed to cover both the singular and theplural, unless otherwise indicated herein or clearly contradicted bycontext. The terms “comprising,” “having,” “including,” and “containing”are to be construed as open-ended terms (i.e., meaning “including, butnot limited to,”) unless otherwise noted. The term “connected” is to beconstrued as partly or wholly contained within, attached to, or joinedtogether, even if there is something intervening. Recitation of rangesof values herein are merely intended to serve as a shorthand method ofreferring individually to each separate value falling within the range,unless otherwise indicated herein, and each separate value isincorporated into the specification as if it were individually recitedherein. All methods described herein can be performed in any suitableorder unless otherwise indicated herein or otherwise clearlycontradicted by context. The use of any and all examples, or exemplarylanguage (e.g., “such as”) provided herein, is intended merely to betterilluminate embodiments and does not pose a limitation on the scopeunless otherwise claimed. No language in the specification should beconstrued as indicating any non-claimed element as essential to thepractice of at least one embodiment.

Preferred embodiments are described herein, including the best modeknown to the inventors. Variations of those preferred embodiments maybecome apparent to those of ordinary skill in the art upon reading theforegoing description. The inventors expect skilled artisans to employsuch variations as appropriate, and the inventors intend for embodimentsto be constructed otherwise than as specifically described herein.Accordingly, suitable embodiments include all modifications andequivalents of the subject matter recited in the claims appended heretoas permitted by applicable law. Moreover, any combination of theabove-described elements in all possible variations thereof iscontemplated as being incorporated into some suitable embodiment unlessotherwise indicated herein or otherwise clearly contradicted by context.

All references, including publications, patent applications, andpatents, cited herein are hereby incorporated by reference to the sameextent as if each reference were individually and specifically indicatedto be incorporated by reference and were set forth in its entiretyherein.

What is claimed is:
 1. A computer-implemented method for distributedpolicy enforcement, comprising: maintaining, by a computer system, aplurality of sets of policies at a plurality of policy enforcementcomponents of a virtual resource provider that is configured toprovision a plurality of computer resources; receiving, via a controlplane of the virtual resource provider, a request with respect to atleast one action performed by at least one computer resource of theplurality of computer resources provisioned by the virtual resourceprovider, the request including an indication that the request is to beprocessed in a verification mode; selecting, by the computer system, atleast one of the plurality of policy enforcement components to evaluatethe request with respect to at least one of the plurality of sets ofpolicies and submitting the request to the at least one of the pluralityof policy enforcement components; determining a relevant policy subsetof the at least one of the plurality of sets of policies that isrelevant with respect to the request; evaluating, by the at least oneselected policy enforcement component, the request with respect to therelevant policy subset; evaluating, upon determining that the request isto be processed in the verification mode based at least in part on theindication included in the request, performance of the at least oneaction by the at least one computer resource of the plurality ofcomputer resources provisioned by the virtual resource provider suchthat performance of the at least one action is inhibited regardless ofwhether the at least one action is in compliance with the relevantpolicy subset; and providing for presentation, to a computing deviceassociated with the request, a report that includes the determinedrelevant policy subset and a result of the evaluation of the requestbased at least in part on evaluation of the performance of the at leastone action, the report configured to be presented via a user interfaceof the computing device associated with the request.
 2. Acomputer-implemented method according to claim 1, wherein: the methodfurther comprises determining a set of decision data required toevaluate the request based at least in part on the relevant policysubset and collecting the set of decision data; the evaluation of therequest with respect to the relevant policy subset is based at least inpart on the set of decision data; and the report provided forpresentation further includes the set of decision data.
 3. Acomputer-implemented method according to claim 1, wherein evaluatingperformance of the at least one action avoids at least one costassociated with the at least one action.
 4. A computer-implementedmethod according to claim 1, wherein the report further includes arepresentation of each policy in the determined relevant policy subsetthat was used to evaluate the request.
 5. A computer-implemented methodfor policy enforcement, comprising: receiving, by a computer system, arequest associated with at least one of a first set of policies, therequest including an indication that the request is to be processed in averification mode; selecting, by the computer system, at least one of aplurality of policy enforcement components to evaluate the request withrespect to the at least one of the first set of policies and submittingthe request to the at least one of the plurality of policy enforcementcomponents; determining, by the computer system, a relevant subset ofthe first set of policies based at least in part on at least oneattribute of the request; evaluating, by the at least one selectedpolicy enforcement component, the request with respect to the relevantsubset of policies at least in part thereby determining at least onepolicy evaluation result; responsive to the indication that the requestis to be processed in the verification mode, evaluating performance ofan action indicated by the request such that performance of the actionis inhibited regardless of whether the action is in compliance with therelevant subset of policies; and providing for presentation, to acomputing device associated with the request, a report that includes thedetermined relevant subset of policies and the at least one policyevaluation result based at least in part on evaluation of theperformance of the action, the report configured to be presented via auser interface of the computing device associated with the request.
 6. Acomputer-implemented method according to claim 5, wherein theverification mode is a policy enforcement verification mode of a virtualresource provider.
 7. A computer-implemented method according to claim6, wherein: the virtual resource provider comprises the plurality ofpolicy enforcement components; and the method further comprisesreceiving the first set of policies at one or more of the plurality ofpolicy enforcement components.
 8. A computer-implemented methodaccording to claim 4, wherein: the request is with respect to at leastone action capable of being performed by the virtual resource provider;and the method further comprises, responsive to the indication that therequest is to be processed in the verification mode, inhibiting said atleast one action independent of the at least one policy evaluationresult.
 9. A computer-implemented method according to claim 5, whereinthe request is received at an interface of a virtual resource provider,the interface comprising a plurality of interface elements correspondingto a plurality of actions capable of being performed by the virtualresource provider, and the indication that the request is to beprocessed in the verification mode corresponds to at least one value ofat least one parameter of at least one of the plurality of interfaceelements.
 10. A computer-implemented method according to claim 5,wherein the indication that the request is to be processed in theverification mode corresponds to one or more valid cryptographiccredentials.
 11. A computer-implemented method according to claim 5,further comprising incorporating a user-specified policy into the firstset of policies at least in part by generating a second set of policiescorresponding to the user-specified policy, the first set of policiesand the second set of policies having policies in a normal form.
 12. Acomputer-implemented method according to claim 11, wherein: theuser-specified policy and each of the second set of policies havedistinct policy identifiers; and each of the second set of policiesreference the user-specified policy with the policy identifier of theuser-specified policy.
 13. A computer-implemented method according toclaim 12, wherein providing for presentation the report comprisesdetermining a set of user-specified policies based at least in part onthe relevant subset of policies.
 14. A computer-implemented methodaccording to claim 5, wherein: the evaluation of the request is based atleast in part on a set of decision data; and the method furthercomprises: receiving a set of substitute decision data along with therequest including the indication that the request is to be processed inthe verification mode; and substituting corresponding portions of theset of decision data with the set of substitute decision data.
 15. Acomputer-implemented method according to claim 14, further comprisingreceiving at least one cryptographic credential corresponding to anauthority to substitute corresponding portions of the set of decisiondata with the set of substitute decision data, and authenticating saidat least one cryptographic credential.
 16. A computer-implemented methodaccording to claim 5, wherein: the indication that the request is to beprocessed in the verification mode is associated with a level ofreporting detail; and the report further includes a summary inaccordance with the level of reporting detail.
 17. Acomputer-implemented method for policy enforcement, comprising:receiving, by a computer system, a set of user-specified policies andgenerating a set of normal form policies corresponding to the set ofuser-specified policies; receiving a request associated with one of theset of user-specified policies and receiving a verification modeindication that the request is to be processed in a verification modecapable of enabling verification of a configuration of the one of theset of user-specified policies; selecting, by the computer system, atleast one of a plurality of policy enforcement components to evaluatethe request; determining, by the computer system, a relevant subset ofthe set of normal form policies based at least in part on at least oneattribute of the request and evaluating, by the at least one selectedpolicy enforcement component, the request with respect to the relevantsubset; determining an applied subset of the set of user-specifiedpolicies based at least in part on the relevant subset of normal formpolicies; responsive to the verification mode indication, evaluatingperformance of an action indicated by the request such that performanceof the action is inhibited regardless of whether the action is incompliance with the relevant subset; and providing for presentation, toa computing device associated with the request, a report that includesthe determined applied subset of user-specified policies and a result ofthe evaluation of the request based at least in part on evaluation ofthe performance of the action, the report configured to be presented viaa user interface of the computing device associated with the request.18. A computer-implemented method according to claim 17, whereindetermining the applied subset of user-specified policies comprisesmapping each of the relevant subset of normal form policies to at leastone user-specified policy.
 19. A computer-implemented method accordingto claim 17, wherein the report further includes the relevant subset ofnormal form policies distinct from the applied subset of user-specifiedpolicies.
 20. A computer-implemented method according to claim 17,wherein the set of normal form policies is based at least in part on theset of user-specified policies and the correspondence between the set ofnormal form policies and the set of user-specified policies is differentfrom a one-to-one correspondence.
 21. A computerized system for policyenforcement, comprising: at least one interface of the system configuredto, at least: receive a request associated with at least one of a set ofpolicies, the request including an indication that the request is to beprocessed in a verification mode; at least one policy enforcementcomponent of a plurality of policy enforcement components that isselected and configured to, at least: determine a relevant subset of theset of policies based at least in part on at least one attribute of therequest; and evaluate the request with respect to the relevant subset ofpolicies; a verification mode component configured to, at least:evaluate performance of an action indicated by the request such thatperformance of the action is inhibited regardless of whether the actionis in compliance with the relevant subset of policies; and provide forpresentation, to a computing device associated with the request, areport that includes the determined relevant subset of policies and aresult of the evaluation of the request based at least in part onevaluation of the performance of the action, the report configured to bepresented via a user interface of the computing device associated withthe request; and one or more processors collectively facilitating atleast said at least one interface, said at least one policy enforcementcomponent, and the verification mode component.
 22. A computerizedsystem according to claim 21, further comprising: a plurality of policyenforcement components each having a distinct location in a network; anda policy management component configured at least to receiveuser-specified policies, generate corresponding policies in a normalform, and distribute the normal form policies to the plurality of policyenforcement components.
 23. One or more non-transitory computer-readablemedia having collectively thereon computer-executable instructions thatconfigure one or more computers to collectively, at least: receive arequest associated with at least one of a set of policies, the requestincluding an indication that the request is to be processed in averification mode; select at least one of a plurality of policyenforcement components to evaluate the request with respect to the atleast one of the set of policies and submitting the request to the atleast one of the plurality of policy enforcement components; evaluate,by the at least one selected policy enforcement component, the requestwith respect to a relevant subset of the set of policies; responsive tothe indication that the request is to be processed in the verificationmode, evaluate performance of an action indicated by the request suchthat the performance of the action is inhibited regardless of whetherthe action is in compliance with the relevant subset of the setpolicies; and provide for presentation, to a computing device associatedwith the request, a report that includes information utilized toevaluate the request including the relevant subset of the set ofpolicies and a result of the evaluation of the request based at least inpart on the evaluation of the performance of the action, the reportconfigured to be presented via a user interface of the computing deviceassociated with the request.
 24. One or more computer-readable mediaaccording to claim 23, wherein: the evaluation of the request occurs atthe plurality of policy enforcement components; and the informationincluded in the report is collected from the plurality of policyenforcement components.